package com.aggregate.pay.lianlianpay.support.client;

import com.aggregate.pay.lianlianpay.bean.SinglePayData;
import com.aggregate.pay.lianlianpay.bean.SinglePayResult;
import com.aggregate.pay.lianlianpay.support.AbstractClient;
import com.aggregate.pay.lianlianpay.support.Merch;

/**
 * 单笔代付接口
 * @author Moyq5
 * @date 2019年4月26日
 */
public class SinglePay extends AbstractClient<SinglePayData, SinglePayResult> {

	public SinglePay(Merch merch) {
		super(merch);
	}

	@Override
	protected Class<SinglePayResult> resultClass() {
		return SinglePayResult.class;
	}

	@Override
	protected String serverPath() {
		return super.serverPath() + "/payment.htm";
	}

	@Override
	protected boolean isEncrypt() {
		return true;
	}

}
